<html>
<head><meta charset="utf-8"><title>Jumpstarting CI builds from a nightly · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html">Jumpstarting CI builds from a nightly</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213647198"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213647198" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213647198">(Oct 17 2020 at 11:17)</a>:</h4>
<p>I’d like to be able to download the nightlies for aarch64-apple-darwin and then run whatever tests we would have run in CI. Ideally without rebuilding the compiler again, but otherwise minimizing repeated effort. </p>
<p>This would allow us to have a little peace of mind that this platform is working.</p>



<a name="213647356"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213647356" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213647356">(Oct 17 2020 at 11:21)</a>:</h4>
<p>Is there any relevant trick?</p>



<a name="213649942"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213649942" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213649942">(Oct 17 2020 at 12:36)</a>:</h4>
<p>You can set <code>rustc</code> and <code>cargo</code> in <code>cargo.toml</code> and then run <code>COMPILETEST_FORCE_STAGE0=1 ./x.py test --stage 0 src/test</code>.</p>



<a name="213650986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213650986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213650986">(Oct 17 2020 at 13:04)</a>:</h4>
<p>Excellent, thank you. I’ll give that a shot later today hopefully. If it works, I’ll try to set up a cronjob on our DTK.</p>



<a name="213651729"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213651729" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213651729">(Oct 17 2020 at 13:22)</a>:</h4>
<p><em>that's</em> whose using stage0 tests</p>



<a name="213651736"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213651736" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213651736">(Oct 17 2020 at 13:23)</a>:</h4>
<p>Ok that makes sense, you're using nightly for stage 0 instead of beta</p>



<a name="213651740"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213651740" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213651740">(Oct 17 2020 at 13:23)</a>:</h4>
<p>Glad I added the override <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="213651797"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213651797" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213651797">(Oct 17 2020 at 13:24)</a>:</h4>
<p>Hmm I wonder if there's a way to detect that automatically so you don't need the override</p>



<a name="213655984"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213655984" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213655984">(Oct 17 2020 at 15:05)</a>:</h4>
<p>yes, there is</p>



<a name="213655996"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213655996" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213655996">(Oct 17 2020 at 15:05)</a>:</h4>
<p>local_rebuild on Builder/Build</p>



<a name="213656040"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213656040" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213656040">(Oct 17 2020 at 15:06)</a>:</h4>
<p>can be set manually via config or automatically detected here <a href="https://github.com/Mark-Simulacrum/rust/blob/e2efec89764f4ee68cc9f537eda722d2fb830bba/src/bootstrap/lib.rs#L450-L453">https://github.com/Mark-Simulacrum/rust/blob/e2efec89764f4ee68cc9f537eda722d2fb830bba/src/bootstrap/lib.rs#L450-L453</a></p>



<a name="213658095"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213658095" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213658095">(Oct 17 2020 at 16:01)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> so if I download a nightly, check out the matching version, set it as my rustc/cargo, then run <code>./x.py test --stage 0 src/test</code>?</p>
<p>I’m not following exactly which override is being discussed.</p>



<a name="213658104"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213658104" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213658104">(Oct 17 2020 at 16:01)</a>:</h4>
<p>COMPILETEST_FORCE_STAGE0 is the discussion</p>



<a name="213658106"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213658106" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213658106">(Oct 17 2020 at 16:01)</a>:</h4>
<p>it'll tell you  to set it</p>



<a name="213658108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213658108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213658108">(Oct 17 2020 at 16:02)</a>:</h4>
<p>(but you can preemptively do so of course)</p>



<a name="213658251"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213658251" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213658251">(Oct 17 2020 at 16:04)</a>:</h4>
<blockquote>
<blockquote>
<p>Hmm I wonder if there's a way to detect that automatically so you don't need the override</p>
</blockquote>
<p>yes, there is</p>
</blockquote>
<p>So is this a theoretical way to detect the override or a ”it should detect it today“?</p>



<a name="213658358"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213658358" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213658358">(Oct 17 2020 at 16:07)</a>:</h4>
<p>it should detect it (just another condition for the if) but doesn't right now</p>



<a name="213658360"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213658360" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213658360">(Oct 17 2020 at 16:07)</a>:</h4>
<p>I would accept a PR.</p>



<a name="213681291"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213681291" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213681291">(Oct 18 2020 at 01:37)</a>:</h4>
<p><code>no rules matched src/test/</code>, but using <code>... src/test/ui</code> does trigger something to happen. Does that not do All The Tests?</p>



<a name="213681302"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213681302" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213681302">(Oct 18 2020 at 01:38)</a>:</h4>
<p>Oh, this isn't what I wanted...</p>
<div class="codehilite"><pre><span></span><code>Building LLVM for aarch64-apple-darwin
</code></pre></div>



<a name="213681354"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213681354" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213681354">(Oct 18 2020 at 01:38)</a>:</h4>
<div class="codehilite"><pre><span></span><code>COMPILETEST_FORCE_STAGE0=1 ../x.py test --stage 0 src/test/ui
</code></pre></div>



<a name="213681539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213681539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213681539">(Oct 18 2020 at 01:42)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly/near/213681302">said</a>:</p>
<blockquote>
<p>Oh, this isn't what I wanted...</p>
<div class="codehilite"><pre><span></span><code>Building LLVM for aarch64-apple-darwin
</code></pre></div>


</blockquote>
<p>try setting download-ci-llvm = true? It doesn't work on MacOS but since you're not actually linking to LLVM it might work</p>



<a name="213681732"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213681732" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213681732">(Oct 18 2020 at 01:46)</a>:</h4>
<p>I might need LLVM if I do codegen tests (which I assume would be part of CI)</p>



<a name="213681770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213681770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213681770">(Oct 18 2020 at 01:47)</a>:</h4>
<blockquote>
<p>try setting download-ci-llvm = true? It doesn't work on MacOS but since you're not actually linking to LLVM it might work</p>
</blockquote>
<p>No good :-( Tries to eagerly download it</p>



<a name="213682108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213682108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213682108">(Oct 18 2020 at 01:54)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly/near/213681732">said</a>:</p>
<blockquote>
<p>I might need LLVM if I do codegen tests (which I assume would be part of CI)</p>
</blockquote>
<p>right, but you don't need to <em>link</em> it</p>



<a name="213682116"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213682116" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213682116">(Oct 18 2020 at 01:54)</a>:</h4>
<p>you only need to link it for stage1, and you're testing stage 0</p>



<a name="213682124"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213682124" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213682124">(Oct 18 2020 at 01:54)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly/near/213681770">said</a>:</p>
<blockquote>
<blockquote>
<p>try setting download-ci-llvm = true? It doesn't work on MacOS but since you're not actually linking to LLVM it might work</p>
</blockquote>
<p>No good :-( Tries to eagerly download it</p>
</blockquote>
<p>oh ... does it not exist at all? :/</p>



<a name="213682327"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213682327" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213682327">(Oct 18 2020 at 01:59)</a>:</h4>
<p>I don't think it does for non-Linux platforms</p>



<a name="213683462"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213683462" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213683462">(Oct 18 2020 at 02:26)</a>:</h4>
<p>looks like its just llvm though.</p>



<a name="213683986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213683986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213683986">(Oct 18 2020 at 02:42)</a>:</h4>
<p>Hmm, some failures, but I don't see why.</p>
<p>expected:</p>
<div class="codehilite"><pre><span></span><code>error[E0277]: the trait bound `NoToSocketAddrs: ToSocketAddrs` is not satisfied
  --&gt; $DIR/trait-suggest-deferences-issue-39029.rs:16:37
   |
LL |     let _errors = TcpListener::bind(&amp;bad);
   |                                     ^^^^
   |                                     |
   |                                     the trait `ToSocketAddrs` is not implemented for `NoToSocketAddrs`
   |                                     help: consider adding dereference here: `&amp;*bad`
   |
  ::: $SRC_DIR/std/src/net/tcp.rs:LL:COL
   |
LL |     pub fn bind&lt;A: ToSocketAddrs&gt;(addr: A) -&gt; io::Result&lt;TcpListener&gt; {
   |                    ------------- required by this bound in `TcpListener::bind`
   |
   = note: required because of the requirements on the impl of `ToSocketAddrs` for `&amp;NoToSocketAddrs`
</code></pre></div>


<p>actual:</p>
<div class="codehilite"><pre><span></span><code>error[E0277]: the trait bound `NoToSocketAddrs: ToSocketAddrs` is not satisfied
  --&gt; $DIR/trait-suggest-deferences-issue-39029.rs:16:37
   |
LL |     let _errors = TcpListener::bind(&amp;bad);
   |                                     ^^^^
   |                                     |
   |                                     the trait `ToSocketAddrs` is not implemented for `NoToSocketAddrs`
   |                                     help: consider adding dereference here: `&amp;*bad`
   |
   = note: required because of the requirements on the impl of `ToSocketAddrs` for `&amp;NoToSocketAddrs`
</code></pre></div>


<div class="codehilite"><pre><span></span><code>
</code></pre></div>



<a name="213684199"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213684199" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213684199">(Oct 18 2020 at 02:49)</a>:</h4>
<p>it's missing the second diagnostic:</p>
<div class="codehilite"><pre><span></span><code>  ::: $SRC_DIR/std/src/net/tcp.rs:LL:COL
   |
LL |     pub fn bind&lt;A: ToSocketAddrs&gt;(addr: A) -&gt; io::Result&lt;TcpListener&gt; {
   |                    ------------- required by this bound in `TcpListener::bind`
</code></pre></div>



<a name="213684202"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213684202" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213684202">(Oct 18 2020 at 02:49)</a>:</h4>
<p>probably because you built stage0 from an old version of master</p>



<a name="213684245"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213684245" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213684245">(Oct 18 2020 at 02:50)</a>:</h4>
<p>this is why you needed an override in the first place, because the source you built from doesn't match the tests</p>



<a name="213684249"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213684249" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213684249">(Oct 18 2020 at 02:50)</a>:</h4>
<p>(alternatively you can just ignore the failure)</p>



<a name="213703020"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703020" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703020">(Oct 18 2020 at 11:49)</a>:</h4>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly/near/213684249">said</a>:</p>
<blockquote>
<p>(alternatively you can just ignore the failure)</p>
</blockquote>
<p>Well, it's not alone:</p>
<div class="codehilite"><pre><span></span><code>test result: FAILED. 10707 passed; 97 failed; 135 ignored; 0 measured; 0 filtered out
</code></pre></div>



<a name="213703036"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703036" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703036">(Oct 18 2020 at 11:50)</a>:</h4>
<p>Which tests failed?</p>



<a name="213703079"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703079" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703079">(Oct 18 2020 at 11:50)</a>:</h4>
<div class="codehilite"><pre><span></span><code>failures:
    [ui] ui/abi/variadic-ffi.rs
    [ui] ui/associated-type-bounds/bad-bounds-on-assoc-in-trait.rs
    [ui] ui/associated-type-bounds/bounds-on-assoc-in-trait.rs
    [ui] ui/associated-types/defaults-wf.rs
    [ui] ui/associated-types/trait-with-supertraits-needing-sized-self.rs
    [ui] ui/async-await/issue-72442.rs
    [ui] ui/bad/bad-sized.rs
    [ui] ui/binop/binop-consume-args.rs
    [ui] ui/binop/binop-move-semantics.rs
    [ui] ui/closures/closure-move-sync.rs
    [ui] ui/codemap_tests/tab_3.rs
    [ui] ui/const-generics/const-argument-if-length.rs#full
    [ui] ui/consts/const-size_of-cycle.rs
    [ui] ui/consts/const-unwrap.rs
    [ui] ui/consts/const_unsafe_unreachable_ub.rs
    [ui] ui/consts/miri_unleashed/drop.rs
    [ui] ui/consts/offset_from_ub.rs
    [ui] ui/consts/offset_ub.rs
    [ui] ui/consts/ptr_comparisons.rs
    [ui] ui/copy-a-resource.rs
    [ui] ui/derives/derive-assoc-type-not-impl.rs
    [ui] ui/derives/derives-span-Eq-enum-struct-variant.rs
    [ui] ui/derives/derives-span-Eq-enum.rs
    [ui] ui/derives/derives-span-Eq-struct.rs
    [ui] ui/derives/derives-span-Eq-tuple-struct.rs
    [ui] ui/derives/derives-span-Hash-enum-struct-variant.rs
    [ui] ui/derives/derives-span-Hash-enum.rs
    [ui] ui/derives/derives-span-Hash-struct.rs
    [ui] ui/derives/derives-span-Hash-tuple-struct.rs
    [ui] ui/derives/deriving-meta-unknown-trait.rs
    [ui] ui/error-codes/E0004-2.rs
    [ui] ui/error-codes/E0005.rs
    [ui] ui/error-codes/E0297.rs
    [ui] ui/feature-gates/feature-gate-associated_type_bounds.rs
    [ui] ui/feature-gates/feature-gate-exhaustive-patterns.rs
    [ui] ui/generator/sized-yield.rs
    [ui] ui/hygiene/panic-location.rs
    [ui] ui/impl-trait/impl-generic-mismatch.rs
    [ui] ui/imports/extern-prelude-extern-crate-restricted-shadowing.rs
    [ui] ui/in-band-lifetimes/mismatched_trait_impl-2.rs
    [ui] ui/interior-mutability/interior-mutability.rs
    [ui] ui/issues/issue-17546.rs
    [ui] ui/issues/issue-20433.rs
    [ui] ui/issues/issue-21160.rs
    [ui] ui/issues/issue-27033.rs
    [ui] ui/issues/issue-2823.rs
    [ui] ui/issues/issue-31173.rs
    [ui] ui/issues/issue-38857.rs
    [ui] ui/issues/issue-60283.rs
    [ui] ui/issues/issue-61108.rs
    [ui] ui/issues/issue-64559.rs
    [ui] ui/issues/issue-69725.rs
    [ui] ui/issues/issue-70724-add_type_neq_err_label-unwrap.rs
    [ui] ui/issues/issue-7607-1.rs
    [ui] ui/lint/lint-const-item-mutation.rs
    [ui] ui/macros/macro-name-typo.rs
    [ui] ui/macros/macro-path-prelude-fail-3.rs
    [ui] ui/macros/unknown-builtin.rs
    [ui] ui/malformed/malformed-derive-entry.rs
    [ui] ui/mismatched_types/issue-36053-2.rs
    [ui] ui/mismatched_types/issue-74918-missing-lifetime.rs
    [ui] ui/moves/move-fn-self-receiver.rs
    [ui] ui/moves/moves-based-on-type-access-to-field.rs
    [ui] ui/moves/moves-based-on-type-exprs.rs
    [ui] ui/no-capture-arc.rs
    [ui] ui/no-reuse-move-arc.rs
    [ui] ui/no-send-res-ports.rs
    [ui] ui/non-copyable-void.rs
    [ui] ui/noncopyable-class.rs
    [ui] ui/parser/issue-62894.rs
    [ui] ui/pattern/usefulness/match-arm-statics-2.rs
    [ui] ui/pattern/usefulness/match-privately-empty.rs
    [ui] ui/pattern/usefulness/non-exhaustive-match.rs
    [ui] ui/proc-macro/parent-source-spans.rs
    [ui] ui/proc-macro/resolve-error.rs
    [ui] ui/range/range-1.rs
    [ui] ui/recursion/issue-38591-non-regular-dropck-recursion.rs
    [ui] ui/recursion/recursive-types-are-not-uninhabited.rs
    [ui] ui/resolve/levenshtein.rs
    [ui] ui/rfc-1937-termination-trait/termination-trait-test-wrong-type.rs
    [ui] ui/stability-in-private-module.rs
    [ui] ui/suggestions/attribute-typos.rs
    [ui] ui/suggestions/expected-boxed-future-isnt-pinned.rs
    [ui] ui/suggestions/imm-ref-trait-object.rs
    [ui] ui/suggestions/mut-borrow-needed-by-trait.rs
    [ui] ui/traits/assoc_type_bound_with_struct.rs
    [ui] ui/traits/trait-alias/trait-alias-object-fail.rs
    [ui] ui/traits/trait-suggest-deferences-issue-39029.rs
    [ui] ui/traits/trait-suggest-where-clause.rs
    [ui] ui/type_length_limit.rs
    [ui] ui/uninhabited/uninhabited-matches-feature-gated.rs
    [ui] ui/union/union-derive-clone.rs
    [ui] ui/union/union-derive-eq.rs
    [ui] ui/unique-object-noncopyable.rs
    [ui] ui/unique-pinned-nocopy.rs
    [ui] ui/unop-move-semantics.rs
    [ui] ui/wf/wf-impl-self-type.rs
</code></pre></div>



<a name="213703085"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703085" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703085">(Oct 18 2020 at 11:51)</a>:</h4>
<p>That is a wide variety of failed tests.</p>



<a name="213703099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703099">(Oct 18 2020 at 11:51)</a>:</h4>
<p>AFAICT, I'm at the matching version:</p>
<div class="codehilite"><pre><span></span><code>% grep &#39;rustc =&#39; config.toml
rustc = &#39;/Users/shepmaster/.rustup/toolchains/nightly-aarch64-apple-darwin/bin/rustc&#39;

 % /Users/shepmaster/.rustup/toolchains/nightly-aarch64-apple-darwin/bin/rustc --version --verbose
rustc 1.49.0-nightly (e3051d8c2 2020-10-16)
binary: rustc
commit-hash: e3051d8c24467b54c81da9d9ad70a3e82e106ec1
commit-date: 2020-10-16
host: aarch64-apple-darwin
release: 1.49.0-nightly
LLVM version: 11.0

% git show
commit e3051d8c24467b54c81da9d9ad70a3e82e106ec1 (HEAD)
Merge: 5a51185fd46 001fcd96d5b
Author: bors &lt;bors@rust-lang.org&gt;
Date:   Fri Oct 16 20:43:27 2020 +0000

    Auto merge of #78028 - JohnTitor:rollup-jt3hikb, r=JohnTitor

    Rollup of 10 pull requests
</code></pre></div>



<a name="213703154"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703154" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703154">(Oct 18 2020 at 11:52)</a>:</h4>
<p><span class="user-mention silent" data-user-id="133247">bjorn3</span> <a href="#narrow/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly/near/213703085">said</a>:</p>
<blockquote>
<p>That is a wide variety of failed tests.</p>
</blockquote>
<p>Right? And the one I picked to look at didn't seem to fail for a platform-specific reason.</p>



<a name="213703169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703169">(Oct 18 2020 at 11:53)</a>:</h4>
<p>And it's seemingly not all the tests, so it's not like I've completely misconfigured it.</p>



<a name="213703244"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703244" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703244">(Oct 18 2020 at 11:55)</a>:</h4>
<p>Let's hope it is not a bunch of miscompilations. It took me quite a while to figure out that cg_clif couldn't bootstrap rustc due 128bit integer miscompilations. It just gave me random miri errors that didn't make any sense. Once it fixed those and a few other bugs cg_clif could bootstrap rustc just fine.</p>



<a name="213703293"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213703293" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213703293">(Oct 18 2020 at 11:56)</a>:</h4>
<p>I suppose I should do a full native build and test to rule out the usage of nightly.</p>



<a name="213708749"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213708749" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213708749">(Oct 18 2020 at 14:29)</a>:</h4>
<p>Yeah. hmm. <code> ../x.py test --stage 1 src/test/ui</code> with no overrides ends in </p>
<div class="codehilite"><pre><span></span><code>failures:
    [ui] ui/abi/variadic-ffi.rs

test result: FAILED. 10803 passed; 1 failed; 135 ignored; 0 measured; 0 filtered out
</code></pre></div>



<a name="213709580"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213709580" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213709580">(Oct 18 2020 at 14:49)</a>:</h4>
<p>What is the error?</p>



<a name="213712796"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213712796" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213712796">(Oct 18 2020 at 16:03)</a>:</h4>
<p>That specific error is probably a real thing (and I’ll ask about it in <a class="stream" data-stream-id="182449" href="/#narrow/stream/182449-t-compiler.2Fhelp">#t-compiler/help</a> once I have a chance to look at it / debug it)</p>



<a name="213712863"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/Jumpstarting%20CI%20builds%20from%20a%20nightly/near/213712863" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/Jumpstarting.20CI.20builds.20from.20a.20nightly.html#213712863">(Oct 18 2020 at 16:04)</a>:</h4>
<p>But I still don’t understand why using a nightly with the same source revision produces different test results.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>